Package eu.europa.ec.taxud.cesop.domain
Enum Class TransactionDateEnum
- All Implemented Interfaces:
Serializable,Comparable<TransactionDateEnum>,java.lang.constant.Constable
Enum for transaction dates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthorisation date transaction date.Clearing date transaction date.Execution date transaction date.Other date transaction date.Purchase date transaction date.Settlement date transaction date. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionDateEnumfindByLabel(String label) Find aTransactionDateEnumby its label.getLabel()Gets label.static TransactionDateEnumReturns the enum constant of this class with the specified name.static TransactionDateEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXECUTION_DATE
Execution date transaction date. -
CLEARING_DATE
Clearing date transaction date. -
AUTHORISATION_DATE
Authorisation date transaction date. -
PURCHASE_DATE
Purchase date transaction date. -
SETTLEMENT_DATE
Settlement date transaction date. -
OTHER_DATE
Other date transaction date.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getLabel
Gets label.- Returns:
- the label
-
findByLabel
Find aTransactionDateEnumby its label.- Parameters:
label- the label- Returns:
- the TransactionDateEnum
- Throws:
IllegalArgumentException- if there is no value for the label
-